package io.renren.modules.onlinestudy.service;

import io.renren.modules.onlinestudy.entity.QuestionEntity;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author zhubsh
 * @email sd_zhusbh@163.com
 * @date 2018-10-26 17:13:53
 */
public interface QuestionService {
	
	QuestionEntity queryObject(String id);
	
	List<QuestionEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(QuestionEntity question);
	
	void update(QuestionEntity question);
	
	void delete(String id);
	
	void deleteBatch(String[] ids);
}
